home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global thepath, soundon, lookFirst, rubspeed, mysoundlevel, soundflag
- set rubspeed to 13
- if not (the colorDepth = 8) then
- alert("How Many Bugs Requires Windows to be running in 256 colors")
- end if
- set lookFirst to the pathName
- if not (lookFirst contains "howmany") then
- set lookFirst to lookFirst & "howmany:"
- end if
- set sfile to FileIO(mnew, "read", "config.cfg")
- if objectp(sfile) then
- if the machineType = 256 then
- set temp to sfile(mReadLine)
- set thepath to char 1 of temp & char 2 of lookFirst & ":howmany:"
- put "clipping to howmany"
- else
- set thepath to thepath & "howmany:"
- put "Adding howmany 2nd time"
- end if
- sfile(mdispose)
- else
- set thepath to lookFirst
- end if
- set soundflag to 0
- set mysoundlevel to 5
- set soundon to 1
- end
-